<!DOCTYPE HTML>
<html lang="en" >
    
    <head>
        
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <title>gitbook的安装 | css的学习</title>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="">
        <meta name="generator" content="GitBook 2.6.7">
        
        
        <meta name="HandheldFriendly" content="true"/>
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
        <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">
        
    <link rel="stylesheet" href="gitbook/style.css">
    
        
        <link rel="stylesheet" href="gitbook/plugins/gitbook-plugin-highlight/website.css">
        
    
        
        <link rel="stylesheet" href="gitbook/plugins/gitbook-plugin-search/search.css">
        
    
        
        <link rel="stylesheet" href="gitbook/plugins/gitbook-plugin-fontsettings/website.css">
        
    
    

        
    
    
    <link rel="next" href="./HTML/html.html" />
    
    
    <link rel="prev" href="./index.html" />
    

        
    </head>
    <body>
        
        
    <div class="book"
        data-level="1"
        data-chapter-title="gitbook的安装"
        data-filepath="gitbookInstall.md"
        data-basepath="."
        data-revision="Mon Jul 23 2018 09:39:03 GMT+0800 (中国标准时间)"
        data-innerlanguage="">
    

<div class="book-summary">
    <nav role="navigation">
        <ul class="summary">
            
            
            
            

            

            
    
        <li class="chapter " data-level="0" data-path="index.html">
            
                
                    <a href="./index.html">
                
                        <i class="fa fa-check"></i>
                        
                        Introduction
                    </a>
            
            
        </li>
    
        <li class="chapter active" data-level="1" data-path="gitbookInstall.html">
            
                
                    <a href="./gitbookInstall.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.</b>
                        
                        gitbook的安装
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2" data-path="HTML/html.html">
            
                
                    <a href="./HTML/html.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.</b>
                        
                        HTML的学习
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1" data-path="HTML/HTML文件格式.html">
            
                
                    <a href="./HTML/HTML文件格式.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.</b>
                        
                        HTML的文件声明
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2" >
            
            <span><b>2.2.</b> html标签</span>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.2.1" >
            
            <span><b>2.2.1.</b> a标签</span>
            
            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3" data-path="css/CSS的学习.html">
            
                
                    <a href="./css/CSS的学习.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.</b>
                        
                        CSS的学习
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.1" data-path="css/yinyong.html">
            
                
                    <a href="./css/yinyong.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.1.</b>
                        
                        css引用方式
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.2" data-path="css/select.html">
            
                
                    <a href="./css/select.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.2.</b>
                        
                        css选择符
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.3" data-path="css/font.html">
            
                
                    <a href="./css/font.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.3.</b>
                        
                        css设置字体样式font
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.4" data-path="css/background.html">
            
                
                    <a href="./css/background.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.4.</b>
                        
                        通过CSS设置背景background
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.5" data-path="css/textalign.html">
            
                
                    <a href="./css/textalign.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.5.</b>
                        
                        文字对齐方式和光标样式
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.6" data-path="css/盒子模型.html">
            
                
                    <a href="./css/盒子模型.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.6.</b>
                        
                        盒子模型
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.7" data-path="css/textyichu.html">
            
                
                    <a href="./css/textyichu.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.7.</b>
                        
                        文字溢出处理
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.8" data-path="css/position.html">
            
                
                    <a href="./css/position.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.8.</b>
                        
                        定位position
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="4" data-path="js/00.html">
            
                
                    <a href="./js/00.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>4.</b>
                        
                        js的学习
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="4.1" data-path="js/JavaScript简介.html">
            
                
                    <a href="./js/JavaScript简介.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>4.1.</b>
                        
                        JavaScript简介
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="4.2" data-path="js/JavaScript数据类型.html">
            
                
                    <a href="./js/JavaScript数据类型.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>4.2.</b>
                        
                        JavaScript数据类型
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="4.3" data-path="js/JavaScript运算符.html">
            
                
                    <a href="./js/JavaScript运算符.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>4.3.</b>
                        
                        javascript运算符
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    


            
            <li class="divider"></li>
            <li>
                <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
                    Published with GitBook
                </a>
            </li>
            
        </ul>
    </nav>
</div>

    <div class="book-body">
        <div class="body-inner">
            <div class="book-header" role="navigation">
    <!-- Actions Left -->
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="./" >css的学习</a>
    </h1>
</div>

            <div class="page-wrapper" tabindex="-1" role="main">
                <div class="page-inner">
                
                
                    <section class="normal" id="section-">
                    
                        <h3 id="gitbook&#x7684;&#x5B89;&#x88C5;">gitbook&#x7684;&#x5B89;&#x88C5;</h3>
<p>gitbook&#x9700;&#x8981;&#x5728;nodejs&#x7684;&#x73AF;&#x5883;&#x4E0B;&#x8FD0;&#x884C;&#xFF0C;&#x6240;&#x4EE5;&#x8981;&#x5B89;&#x88C5;nodejs.</p>
<h2 id="&#x7B2C;&#x4E00;&#x6B65;&#xFF1A;-&#x5B89;&#x88C5;nodejs">&#x7B2C;&#x4E00;&#x6B65;&#xFF1A; &#x5B89;&#x88C5;nodejs</h2>
<p>*gitbook&#x9700;&#x8981;&#x5728;&#x6BD4;&#x8F83;&#x4F4E;&#x7684;nodejs&#x7248;&#x672C;&#x4E0B;&#x5B89;&#x88C5;&#xFF0C;&#x6240;&#x4EE5;&#x53EF;&#x4EE5;&#x901A;&#x8FC7;nvm&#x6765;&#x5B89;&#x88C5;&#x4F4E;&#x7248;&#x672C;&#x7684;nodejs<br>nvm &#x662F;nodejs&#x7684;&#x7248;&#x672C;&#x7BA1;&#x7406;&#x5DE5;&#x5177;&#xFF0C;&#x5B89;&#x88C5;&#x547D;&#x4EE4;&#x5982;&#x4E0B;  &#x3001;</p>
<p><em>&#x6CE8;&#x610F;&#xFF0C;nvm&#x7684;&#x5B89;&#x88C5;&#x53EF;&#x4EE5;&#x76F4;&#x63A5;&#x4E0B;&#x8F7D;nvm&#x5B89;&#x88C5;&#x5305;</em></p>
<p>&#xB7;&#xB7;&#xB7;</p>
<p> nvm install 6.10.0</p>
<p>&#xB7;&#xB7;&#xB7;</p>
<p>&#x5B89;&#x88C5;&#x5B8C;&#x6210;&#x540E;&#xFF0C;&#x8FD8;&#x9700;&#x8FD0;&#x884C;
&#xB7;&#xB7;&#xB7;
    &#x8FD0;&#x884C;&#x7248;&#x672C;&#x8017;&#x4E3A;6.10.0&#x7684;nodejs
    nvm use 6.10.0
&#xB7;&#xB7;&#xB7;
&#x5982;&#x679C;&#x4E0D;&#x60F3;&#x901A;&#x8FC7;nvm&#x5B89;&#x88C5;&#x7684;&#x8BDD;&#xFF0C;&#x53EF;&#x4EE5;&#x76F4;&#x63A5;&#x4E0B;&#x8F7D;&#x5B89;&#x88C5;</p>
<h2 id="&#x7B2C;&#x4E8C;&#x90E8;-&#x5168;&#x5C40;&#x5B89;&#x88C5;gitbook">&#x7B2C;&#x4E8C;&#x90E8; &#x5168;&#x5C40;&#x5B89;&#x88C5;gitbook</h2>
<p>&#x547D;&#x4EE4;&#x7B26;&#x7A97;&#x53E3;&#x4E2D;&#x8FD0;&#x884C;&#x5982;&#x4E0B;&#x547D;&#x4EE4;
&#xB7;&#xB7;&#xB7;</p>
<p>npm install gitbook-cli -g
&#xB7;&#xB7;&#xB7;
&#x5B89;&#x88C5;&#x5B8C;&#x540E;&#x5728;&#x547D;&#x4EE4;&#x7B26;&#x7A97;&#x53E3;&#x4E2D;&#x4F1A;&#x663E;&#x793A;&#xFF1A;&#x201D;without error&#x201C;</p>
<h2 id="&#x5B89;&#x88C5;&#x4E2A;&#x4EBA;&#x7535;&#x5B50;&#x4E66;">&#x5B89;&#x88C5;&#x4E2A;&#x4EBA;&#x7535;&#x5B50;&#x4E66;</h2>
<p>1&#x3001; &#x65B0;&#x5EFA;&#x4E00;&#x4E2A;&#x6587;&#x4EF6;&#x5939;mybook
2&#x3001; &#x5728;mybook&#x6587;&#x4EF6;&#x5939;&#x4E2D;&#x65B0;&#x5EFA;&#x4E00;&#x4E2A;book.Json&#x6587;&#x4EF6;&#xFF0C;&#x7528;&#x6765;&#x58F0;&#x660E;&#x5B89;&#x88C5;&#x7684;gitbook&#x7684;&#x7248;&#x672C;&#xFF0C;&#x5185;&#x5BB9;&#x5982;&#x4E0B;</p>
<p>&#xB7;&#xB7;&#xB7;</p>
<p> {
     &quot;gitbook&quot;:&quot;2.x.x&quot;
 }
&#xB7;&#xB7;&#xB7;<br>&#x65B0;&#x5EFA;&#x597D;&#x8FD9;&#x4E9B;&#x6587;&#x4EF6;&#x4E4B;&#x540E;&#xFF0C;&#x5728;&#x547D;&#x4EE4;&#x7B26;&#x7A97;&#x53E3;&#x4E2D;&#x8FD0;&#x884C;&#x5982;&#x4E0B;&#x547D;&#x4EE4;</p>
<p>&#xB7;&#xB7;&#xB7;</p>
<p>   gitbook install
&#xB7;&#xB7;&#xB7;
3&#x3001;&#x5728;mybook&#x6587;&#x4EF6;&#x5939;&#x4E2D;&#x65B0;&#x5EFA;README.md &#x548C;SUMMARY.md &#x6587;&#x4EF6;
  README.md&#x6587;&#x4EF6; &#x662F;&#x7528;&#x6765;&#x8BF4;&#x660E;&#x7535;&#x5B50;&#x4E66;&#x7684;&#x7528;&#x5904;
  SUMMARY.md &#x6587;&#x4EF6;&#x7528;&#x6765;&#x4E66;&#x5199;&#x7535;&#x5B50;&#x4E66;&#x7684;&#x76EE;&#x5F55;&#x7684;&#x76EE;&#x5F55;&#x683C;&#x5F0F;&#x5982;&#x4E0B;&#xFF1A;  </p>
<p>  &#xB7;&#xB7;&#xB7;</p>
<h1 id="summary">Summary</h1>
<ul>
<li>[&#x76EE;&#x5F55;&#x4E00;]&#xFF08;md/css/css.md&#xFF09;  </li>
<li><p>[&#x76EE;&#x5F55;&#x4E00;]&#xFF08;md/css/css.md&#xFF09;</p>
<ul>
<li>[&#x4E8C;&#x7EA7;&#x76EE;&#x5F55;]
&#x5EFA;&#x597D;&#x6587;&#x4EF6;&#x4E4B;&#x540E;&#xFF0C;&#x8FD0;&#x884C;&#x5982;&#x4E0B;&#x547D;&#x4EE4;
&#x521D;&#x59CB;&#x5316;&#x7535;&#x5B50;&#x4E66;
&#xB7;&#xB7;&#xB7;</li>
</ul>
<p>gitbook init
&#xB7;&#xB7;&#xB7;
4&#x3001;&#x542F;&#x52A8;&#x672C;&#x5730;&#x670D;&#x52A1;</p>
<p>&#x8FD0;&#x884C;&#x5982;&#x4E0B;&#x547D;&#x4EE4;
&#xB7;&#xB7;&#xB7;</p>
<p>gitbook sever
&#xB7;&#xB7;&#xB7;
&#x8FD0;&#x884C;&#x547D;&#x4EE4;&#x4E4B;&#x540E;&#x51FA;&#x73B0;&#x672C;&#x5730;&#x670D;&#x52A1;&#x5668;&#x5730;&#x5740;  <a href="http://localhost:4000" target="_blank">http://localhost:4000</a> </p>
</li>
</ul>

                    
                    </section>
                
                
                </div>
            </div>
        </div>

        
        <a href="./index.html" class="navigation navigation-prev " aria-label="Previous page: Introduction"><i class="fa fa-angle-left"></i></a>
        
        
        <a href="./HTML/html.html" class="navigation navigation-next " aria-label="Next page: HTML的学习"><i class="fa fa-angle-right"></i></a>
        
    </div>
</div>

        
<script src="gitbook/app.js"></script>

    
    <script src="gitbook/plugins/gitbook-plugin-search/lunr.min.js"></script>
    

    
    <script src="gitbook/plugins/gitbook-plugin-search/search.js"></script>
    

    
    <script src="gitbook/plugins/gitbook-plugin-sharing/buttons.js"></script>
    

    
    <script src="gitbook/plugins/gitbook-plugin-fontsettings/buttons.js"></script>
    

    
    <script src="gitbook/plugins/gitbook-plugin-livereload/plugin.js"></script>
    

<script>
require(["gitbook"], function(gitbook) {
    var config = {"highlight":{},"search":{"maxIndexSize":1000000},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"livereload":{}};
    gitbook.start(config);
});
</script>

        
    </body>
    
</html>
